﻿@model CommentPostMVC.Models.Comment

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>BlogPostComments</title>
</head>
<body>
   @using (Html.BeginForm()) 
   {
        @Html.ValidationSummary()
        <p>Name: @Html.TextBoxFor(x => x.PosterName) </p>
        <p>Email: @Html.TextBoxFor(x => x.PosterEmail)</p>
       
       <p>Liked the post?:
           @Html.DropDownListFor(x => x.LikedPost, new[]
            {
                new SelectListItem {Text = "Me Likey!", Value = bool.TrueString},
                new SelectListItem {Text = "Me NO Likey", Value = bool.FalseString}
            }, "Liked it?")
        </p>
        <input type="submit" value="OK" />
    }
</body>
</html>